package io.gitee.capricorn.entity;

import java.util.Date;

/**
 * jwt载荷
 */
public class JwtPayload {
    //签发人
    private String iss;
    //主题
    private String sub;
    //接收方
    private String aud;
    //过期时间
    private Date exp;
    //生效时间
    private Date nbf;
    //签发时间
    private Date iat;
    //编号
    private String jti;

    public String getIss() {
        return iss;
    }

    public void setIss(String iss) {
        this.iss = iss;
    }

    public String getSub() {
        return sub;
    }

    public void setSub(String sub) {
        this.sub = sub;
    }

    public String getAud() {
        return aud;
    }

    public void setAud(String aud) {
        this.aud = aud;
    }

    public Date getExp() {
        return exp;
    }

    public void setExp(Date exp) {
        this.exp = exp;
    }

    public Date getNbf() {
        return nbf;
    }

    public void setNbf(Date nbf) {
        this.nbf = nbf;
    }

    public Date getIat() {
        return iat;
    }

    public void setIat(Date iat) {
        this.iat = iat;
    }

    public String getJti() {
        return jti;
    }

    public void setJti(String jti) {
        this.jti = jti;
    }
}
